package work.lrl.customer_unbinding;

import cn.hutool.core.io.FileUtil;
import cn.hutool.json.JSONUtil;

import java.nio.charset.Charset;
import java.util.concurrent.CopyOnWriteArrayList;

/**
 * @author Gong.Yang
 */
public class Demo3 {
    private static final String out = "E:\\work-records\\l陆叶\\le-会员解绑\\测试\\out\\";
    private static final String empty = out + "empty.json";//三方卡号和手机号都没找到
    public static void main(String[] args) {
        CopyOnWriteArrayList<String> list = new CopyOnWriteArrayList<>();
        list.add("a");
        list.add("b");
        list.add("c");
        FileUtil.writeString(JSONUtil.toJsonStr(list), empty, Charset.defaultCharset());

    }
}
